const getters = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  avatarUrl: state => state.user.avatarUrl,
  userId: state => state.user.userId,
  name: state => state.user.name,
  permissions: state => state.user.permissions,
  permission_routes: state => state.permission.routes,
  roles: state => state.user.roles,
  dict: state => state.dict.dict,
};

export default getters;